# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator

DESCRIPTION="MapFS is a kernel module for Linux that implements a filesystem for composing portions of additional filesystems (read/only or read/write) into a single writable virtual filesystem." 
HOMEPAGE="http://www.levanta.com/mapfs/"
SRC_URI="mirror://sourceforge/mapfs/${PN}-$(replace_version_separator 2 '-').tar.gz" 
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND=""
S=${WORKDIR}/${PN}-$(get_version_component_range 1-4)
src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc AUTHORS ChangeLog README
}
